cmake_minimum_required(VERSION 3.0.0)
project(smart-meeting VERSION 0.1.0 LANGUAGES C)

add_library(record STATIC record.c)

add_library(control STATIC control.c)

add_executable(smart-meeting main.c)

# add_executable(control control.c)
# target_link_libraries(control asound)

# add_executable(record record.c)
# target_link_libraries(record asound)

add_executable(play play.c)
target_link_libraries(play asound)

add_executable(key key.c)
target_link_libraries(key gpiod record control asound)